//package xijia.plus.docs.thymeleafuser.config;
//
//import org.springframework.boot.web.servlet.error.ErrorController;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import javax.servlet.http.HttpServletRequest;
//
///**
// * 找不到请求处理 404
// *
// * @author wangsong
// * @date 2023/04/25
// */
//@Controller
//public class NotFoundException implements ErrorController {
//
//
//    @RequestMapping(value = {"/error"})
//    public Object error(HttpServletRequest request) {
//        return "redirect:/error/404.html";
//    }
//}